package jerry.html.events;

import java.util.List;

/**
 * 
 * 
 * Game event
 * 
 * 
 * @author (h0t@_G0|i
 * 
 */
public class GameEvtCapImpl
    extends EvtCap
{

    public GameEvtCapImpl(List<String> list)
    {
        if(list.size() < 4)
        {
            validEvt = false;
            return;
        }
        validEvt = true;
        timeStamp = Double.valueOf(list.get(0)).doubleValue();
        param = list.get(2);
        value = list.get(3);
        if(list.size() == 5)
            value2 = " " + list.get(4);
        else
            value2 = "";
    }

    public String param;
    public String value;
    public String value2;
}
